#ifndef MAINFRAME_H
#define MAINFRAME_H

#include <wx/wxprec.h>
#ifndef WX_PRECOMP
    #include <wx/wx.h>
#endif
#include <wx/aui/framemanager.h>

class MainFrame : public wxFrame
{
public:
    MainFrame(const wxString &title, const wxPoint &pos, const wxSize &size, long style);
    ~MainFrame();

private:
    void OnOpenFile(wxCommandEvent &event);
    void OnExit(wxCommandEvent &event);
    void OnAbout(wxCommandEvent &event);
    wxDECLARE_EVENT_TABLE();
private:
    //图片显示窗口
    wxScrolledWindow *m_scrolledWindow;
    //功能操作面板
    wxPanel *m_panel;
    wxMenuBar *createMenus();
    void createImageView();
};

enum { ID_Hello = 1 };

#endif